home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / BARNET / COMPILER / LCCBIN / !lcc / !Boot next >
Text File  |  1998-03-13  |  1KB  |  41 lines

  1. | !Boot for LCC
  2. | Adapted by Reuben Thomas from !Run for the GNU compilers
  3.  
  4. IconSprites <Obey$Dir>.!Sprites
  5.  
  6. Set LCC$Dir <Obey$Dir>
  7.  
  8. | Search path used for the compiler binaries
  9. If "<LCC$Path>" = "" Then Set Run$Path <Run$Path>,LCC:bin.
  10. Set LCC$Path <LCC$Dir>.
  11.  
  12. | Set the return code limit. Unixlib encodes information within this range
  13. Set Sys$RCLimit 65536
  14.  
  15. | Place to store temporary files
  16. If "<UnixFS$/tmp>" = "" Then Set UnixFS$/tmp <Wimp$ScrapDir>
  17.  
  18. | Ensure correct filename translation for a variety of prefixes
  19. |Set UnixFS$sfix "f:for:F:fpp:cc:cxx:cpp:c++:C:ii:rpo:ads:adb:ada:c:m:h:i:s:S:ali:adc:xrb:xrs:l:o:p:pas:ph:gpi:gpc:y"
  20. If "<UnixFS$sfix>" = "" Then Set UnixFS$sfix "a:c:cc:f:h:i:l:o:p:s:y:md"
  21.  
  22. | Set aliases for controlling UnixLib heap for dynamic areas
  23. | See the documentation about UnixLib and dynamic areas.
  24.  
  25. | Uncomment these if you have a RiscPC and wish to use dynamic areas
  26. Set bprint_heap ""
  27. Set cpp_heap ""
  28. Set lburg_heap ""
  29. Set lcc_heap ""
  30. Set rcc_heap ""
  31.  
  32. | Used for extended command lines
  33. | Initially, we look in !System for the DDEUtils module supplied by Acorn
  34. | If not present, then we will load the DDEUtilsCy version.
  35. RMEnsure DDEUtils 0.02 X RMLoad System:Modules.DDEUtils
  36. RMEnsure DDEUtils 0.01 RMRun <LCC$Dir>.Resources.DDEUtilsCy
  37. RMEnsure DDEUtils 0.01 %Obey -c <LCC$Dir>.Resources.InitDDECy
  38.  
  39. RMEnsure UtilityModule 3.10 Obey
  40. | Details specific to RISC OS 3.10 and above
  41. RMEnsure UtilityModule 3.70 RMEnsure CallASWI 0.01 RMLoad System:Modules.CallASWI